Learn R Programming

shard (version 0.1.0)

[.shard_descriptor_lazy: Subset a shard_descriptor_lazy Object

Description

Subset a shard_descriptor_lazy Object

Usage

# S3 method for shard_descriptor_lazy
[(x, i)

Value

A subset of the object.

Arguments

x

A shard_descriptor_lazy object.

i

Index or indices.

Examples

Run this code
sh <- shards(100, block_size = 25)
sh[1:2]

Run the code above in your browser using DataLab